package com.graduation.project.mapper.process;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.graduation.project.entity.dto.thesis.ListThesisDTO;
import com.graduation.project.entity.vo.ListTaskOptionsVO;
import com.graduation.project.entity.vo.ListThesisVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ListThesisMapper extends BaseMapper<ListThesisVO> {

    IPage<ListThesisVO> listThesisByCondition(@Param("page") IPage page, @Param("listThesisDTO") ListThesisDTO listThesisDTO);

    List<ListTaskOptionsVO> listFinalizeOptions(@Param("groupCode") String groupCode);

    List<Map<String, Object>> listUserScoreTaskIds(@Param("proposerCode") String proposerCode);
}
